package org.point.service;

import java.io.Serializable;
import java.util.List;

import org.point.common.service.BaseService;
import org.point.common.util.DoPage;
import org.point.domain.CreditsRecord;

/**
 * 
 * @ClassName: CreditsRecordService  
 * @Description: TODO(积分记录业务接口类)  
 * @author Kenny_Z' szqiuk@gmail.com
 * @date 2016年10月23日 下午4:12:34  
 *
 */
public interface CreditsRecordService extends BaseService<CreditsRecord, Serializable>{

	/**
	 * 
	 * @Title: searchCreditsRecord 
	 * @Description: TODO(查询积分记录) 
	 * @param @param page
	 * @param @return    设定文件 
	 * @return List<CreditsRecord>    返回类型 
	 * @throws
	 */
	public List<CreditsRecord> searchCreditsRecord(DoPage<CreditsRecord> page);
	public DoPage<CreditsRecord> searchCRForPage(DoPage<CreditsRecord> page);
	
	/**
	 * 
	 * @Title: countCreditsRecord 
	 * @Description: TODO(查询积分记录条数) 
	 * @param @param page
	 * @param @return    设定文件 
	 * @return Integer    返回类型 
	 * @throws
	 */
	public Integer countCreditsRecord(DoPage<CreditsRecord> page);
	
	/**
	 * 
	 * @Title: insertCreditsRecord 
	 * @Description: TODO(新增积分记录) 
	 * @param @param record
	 * @param @return    设定文件 
	 * @return Integer    返回类型 
	 * @throws
	 */
	public Integer insertCreditsRecord(CreditsRecord record);
	
}
